package com.scsj.supermarket.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/6/29.
 */

public class OrderDetailBean {
    /**
     * success : true
     * msg : success
     * statusCode : 200
     * data : {"orderId":"180521474964oken","createDate":"2018-05-22T16:05:45","evaluationState":0,"orderState":2,"storeId":"3","storeName":"han","discountAmount":0,"buyerNotes":"note","deliveryFee":null,"receiverName":null,"receiverPhone":null,"deliveryBossType":1,"paymentType":"快捷支付","storeResourceInfo":{"id":"e2f22baf-5804-11e8-ac5f-a0d3c1facc88","fileType":2,"purposeType":"store_logo","relationId":"3","width":84,"height":84,"size":3756,"hashKey":"Fr8O_WsowU2-jgW_cxaq5HWuOu0M","suffixType":"png","url":"images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png","description":null,"duration":null,"isCover":null,"sequence":null,"createUser":null,"createTime":"2018-05-15T13:57:45","updateUser":null,"updateTime":null,"isValid":1,"widthFrameCapture":null,"heightFrameCapture":null,"urlFrameCapture":"https://oss.scsj.net.cn/images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png?imageView2/2/w/84/h/84&e=1527158548&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:w20skPgwWLjWTEzjGks6qzM3HNU=","urlToken":"https://oss.scsj.net.cn/images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png?e=1527158548&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:WTj9TCVeeOLvoFTFN1wr3LZ7ryU="},"location":null,"shopOrderGoodsDetailsList":[{"id":"59ec2c6f-5cae-11e8-ac5f-a0d3c1facc88","orderId":"180521474964oken","shopStoreId":"3","buyerId":"token","goodsId":"g3","buyNum":3,"goodsPrice":5,"totalPrice":15,"goodsName":"商品名称ggg","goodsImage":"主图ggg","goodsSpecification":"规格","goodsWeight":111,"goodsUnit":"计量单位","goodsType":1,"refundOrderId":null,"goodsBrokerage":1,"isRefund":0,"createUser":"token","createTime":"2018-05-21T12:20:45","updateUser":"","updateTime":"2018-05-09T22:52:06","isValid":1,"resourceInfo":null}],"weightSum":333}
     */

    private boolean success;
    private String msg;
    private int statusCode;
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * orderId : 180521474964oken
         * createDate : 2018-05-22T16:05:45
         * evaluationState : 0
         * orderState : 2
         * storeId : 3
         * storeName : han
         * discountAmount : 0
         * buyerNotes : note
         * deliveryFee : null
         * receiverName : null
         * receiverPhone : null
         * deliveryBossType : 1
         * paymentType : 快捷支付
         * storeResourceInfo : {"id":"e2f22baf-5804-11e8-ac5f-a0d3c1facc88","fileType":2,"purposeType":"store_logo","relationId":"3","width":84,"height":84,"size":3756,"hashKey":"Fr8O_WsowU2-jgW_cxaq5HWuOu0M","suffixType":"png","url":"images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png","description":null,"duration":null,"isCover":null,"sequence":null,"createUser":null,"createTime":"2018-05-15T13:57:45","updateUser":null,"updateTime":null,"isValid":1,"widthFrameCapture":null,"heightFrameCapture":null,"urlFrameCapture":"https://oss.scsj.net.cn/images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png?imageView2/2/w/84/h/84&e=1527158548&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:w20skPgwWLjWTEzjGks6qzM3HNU=","urlToken":"https://oss.scsj.net.cn/images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png?e=1527158548&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:WTj9TCVeeOLvoFTFN1wr3LZ7ryU="}
         * location : null
         * shopOrderGoodsDetailsList : [{"id":"59ec2c6f-5cae-11e8-ac5f-a0d3c1facc88","orderId":"180521474964oken","shopStoreId":"3","buyerId":"token","goodsId":"g3","buyNum":3,"goodsPrice":5,"totalPrice":15,"goodsName":"商品名称ggg","goodsImage":"主图ggg","goodsSpecification":"规格","goodsWeight":111,"goodsUnit":"计量单位","goodsType":1,"refundOrderId":null,"goodsBrokerage":1,"isRefund":0,"createUser":"token","createTime":"2018-05-21T12:20:45","updateUser":"","updateTime":"2018-05-09T22:52:06","isValid":1,"resourceInfo":null}]
         * weightSum : 333
         */

        private String orderId;
        private String createDate;
        private int evaluationState;
        private int orderState;
        private String storeId;
        private String storeName;
        private int discountAmount;
        private String buyerNotes;
        private Object deliveryFee;
        private Object receiverName;
        private Object receiverPhone;
        private int deliveryBossType;
        private String paymentType;
        private StoreResourceInfoBean storeResourceInfo;
        private Object location;
        private double weightSum;
        private List<ShopOrderGoodsDetailsListBean> shopOrderGoodsDetailsList;

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public int getEvaluationState() {
            return evaluationState;
        }

        public void setEvaluationState(int evaluationState) {
            this.evaluationState = evaluationState;
        }

        public int getOrderState() {
            return orderState;
        }

        public void setOrderState(int orderState) {
            this.orderState = orderState;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public int getDiscountAmount() {
            return discountAmount;
        }

        public void setDiscountAmount(int discountAmount) {
            this.discountAmount = discountAmount;
        }

        public String getBuyerNotes() {
            return buyerNotes;
        }

        public void setBuyerNotes(String buyerNotes) {
            this.buyerNotes = buyerNotes;
        }

        public Object getDeliveryFee() {
            return deliveryFee;
        }

        public void setDeliveryFee(Object deliveryFee) {
            this.deliveryFee = deliveryFee;
        }

        public Object getReceiverName() {
            return receiverName;
        }

        public void setReceiverName(Object receiverName) {
            this.receiverName = receiverName;
        }

        public Object getReceiverPhone() {
            return receiverPhone;
        }

        public void setReceiverPhone(Object receiverPhone) {
            this.receiverPhone = receiverPhone;
        }

        public int getDeliveryBossType() {
            return deliveryBossType;
        }

        public void setDeliveryBossType(int deliveryBossType) {
            this.deliveryBossType = deliveryBossType;
        }

        public String getPaymentType() {
            return paymentType;
        }

        public void setPaymentType(String paymentType) {
            this.paymentType = paymentType;
        }

        public StoreResourceInfoBean getStoreResourceInfo() {
            return storeResourceInfo;
        }

        public void setStoreResourceInfo(StoreResourceInfoBean storeResourceInfo) {
            this.storeResourceInfo = storeResourceInfo;
        }

        public Object getLocation() {
            return location;
        }

        public void setLocation(Object location) {
            this.location = location;
        }

        public double getWeightSum() {
            return weightSum;
        }

        public void setWeightSum(double weightSum) {
            this.weightSum = weightSum;
        }

        public List<ShopOrderGoodsDetailsListBean> getShopOrderGoodsDetailsList() {
            return shopOrderGoodsDetailsList;
        }

        public void setShopOrderGoodsDetailsList(List<ShopOrderGoodsDetailsListBean> shopOrderGoodsDetailsList) {
            this.shopOrderGoodsDetailsList = shopOrderGoodsDetailsList;
        }

        public static class StoreResourceInfoBean {
            /**
             * id : e2f22baf-5804-11e8-ac5f-a0d3c1facc88
             * fileType : 2
             * purposeType : store_logo
             * relationId : 3
             * width : 84
             * height : 84
             * size : 3756
             * hashKey : Fr8O_WsowU2-jgW_cxaq5HWuOu0M
             * suffixType : png
             * url : images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png
             * description : null
             * duration : null
             * isCover : null
             * sequence : null
             * createUser : null
             * createTime : 2018-05-15T13:57:45
             * updateUser : null
             * updateTime : null
             * isValid : 1
             * widthFrameCapture : null
             * heightFrameCapture : null
             * urlFrameCapture : https://oss.scsj.net.cn/images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png?imageView2/2/w/84/h/84&e=1527158548&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:w20skPgwWLjWTEzjGks6qzM3HNU=
             * urlToken : https://oss.scsj.net.cn/images/users/testtest/e7d0a785-d99d-4902-a9f5-a628e251397e.png?e=1527158548&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:WTj9TCVeeOLvoFTFN1wr3LZ7ryU=
             */

            private String id;
            private int fileType;
            private String purposeType;
            private String relationId;
            private int width;
            private int height;
            private int size;
            private String hashKey;
            private String suffixType;
            private String url;
            private Object description;
            private Object duration;
            private Object isCover;
            private Object sequence;
            private Object createUser;
            private String createTime;
            private Object updateUser;
            private Object updateTime;
            private int isValid;
            private Object widthFrameCapture;
            private Object heightFrameCapture;
            private String urlFrameCapture;
            private String urlToken;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getFileType() {
                return fileType;
            }

            public void setFileType(int fileType) {
                this.fileType = fileType;
            }

            public String getPurposeType() {
                return purposeType;
            }

            public void setPurposeType(String purposeType) {
                this.purposeType = purposeType;
            }

            public String getRelationId() {
                return relationId;
            }

            public void setRelationId(String relationId) {
                this.relationId = relationId;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public String getHashKey() {
                return hashKey;
            }

            public void setHashKey(String hashKey) {
                this.hashKey = hashKey;
            }

            public String getSuffixType() {
                return suffixType;
            }

            public void setSuffixType(String suffixType) {
                this.suffixType = suffixType;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public Object getDescription() {
                return description;
            }

            public void setDescription(Object description) {
                this.description = description;
            }

            public Object getDuration() {
                return duration;
            }

            public void setDuration(Object duration) {
                this.duration = duration;
            }

            public Object getIsCover() {
                return isCover;
            }

            public void setIsCover(Object isCover) {
                this.isCover = isCover;
            }

            public Object getSequence() {
                return sequence;
            }

            public void setSequence(Object sequence) {
                this.sequence = sequence;
            }

            public Object getCreateUser() {
                return createUser;
            }

            public void setCreateUser(Object createUser) {
                this.createUser = createUser;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateUser() {
                return updateUser;
            }

            public void setUpdateUser(Object updateUser) {
                this.updateUser = updateUser;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public int getIsValid() {
                return isValid;
            }

            public void setIsValid(int isValid) {
                this.isValid = isValid;
            }

            public Object getWidthFrameCapture() {
                return widthFrameCapture;
            }

            public void setWidthFrameCapture(Object widthFrameCapture) {
                this.widthFrameCapture = widthFrameCapture;
            }

            public Object getHeightFrameCapture() {
                return heightFrameCapture;
            }

            public void setHeightFrameCapture(Object heightFrameCapture) {
                this.heightFrameCapture = heightFrameCapture;
            }

            public String getUrlFrameCapture() {
                return urlFrameCapture;
            }

            public void setUrlFrameCapture(String urlFrameCapture) {
                this.urlFrameCapture = urlFrameCapture;
            }

            public String getUrlToken() {
                return urlToken;
            }

            public void setUrlToken(String urlToken) {
                this.urlToken = urlToken;
            }
        }

        public static class ShopOrderGoodsDetailsListBean {
            /**
             * id : 59ec2c6f-5cae-11e8-ac5f-a0d3c1facc88
             * orderId : 180521474964oken
             * shopStoreId : 3
             * buyerId : token
             * goodsId : g3
             * buyNum : 3
             * goodsPrice : 5
             * totalPrice : 15
             * goodsName : 商品名称ggg
             * goodsImage : 主图ggg
             * goodsSpecification : 规格
             * goodsWeight : 111
             * goodsUnit : 计量单位
             * goodsType : 1
             * refundOrderId : null
             * goodsBrokerage : 1
             * isRefund : 0
             * createUser : token
             * createTime : 2018-05-21T12:20:45
             * updateUser :
             * updateTime : 2018-05-09T22:52:06
             * isValid : 1
             * resourceInfo : null
             */

            private String id;
            private String orderId;
            private String shopStoreId;
            private String buyerId;
            private String goodsId;
            private int buyNum;
            private int goodsPrice;
            private int totalPrice;
            private String goodsName;
            private String goodsImage;
            private String goodsSpecification;
            private int goodsWeight;
            private String goodsUnit;
            private int goodsType;
            private Object refundOrderId;
            private int goodsBrokerage;
            private int isRefund;
            private String createUser;
            private String createTime;
            private String updateUser;
            private String updateTime;
            private int isValid;
            private Object resourceInfo;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getShopStoreId() {
                return shopStoreId;
            }

            public void setShopStoreId(String shopStoreId) {
                this.shopStoreId = shopStoreId;
            }

            public String getBuyerId() {
                return buyerId;
            }

            public void setBuyerId(String buyerId) {
                this.buyerId = buyerId;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public int getBuyNum() {
                return buyNum;
            }

            public void setBuyNum(int buyNum) {
                this.buyNum = buyNum;
            }

            public int getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(int goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public int getTotalPrice() {
                return totalPrice;
            }

            public void setTotalPrice(int totalPrice) {
                this.totalPrice = totalPrice;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsImage() {
                return goodsImage;
            }

            public void setGoodsImage(String goodsImage) {
                this.goodsImage = goodsImage;
            }

            public String getGoodsSpecification() {
                return goodsSpecification;
            }

            public void setGoodsSpecification(String goodsSpecification) {
                this.goodsSpecification = goodsSpecification;
            }

            public int getGoodsWeight() {
                return goodsWeight;
            }

            public void setGoodsWeight(int goodsWeight) {
                this.goodsWeight = goodsWeight;
            }

            public String getGoodsUnit() {
                return goodsUnit;
            }

            public void setGoodsUnit(String goodsUnit) {
                this.goodsUnit = goodsUnit;
            }

            public int getGoodsType() {
                return goodsType;
            }

            public void setGoodsType(int goodsType) {
                this.goodsType = goodsType;
            }

            public Object getRefundOrderId() {
                return refundOrderId;
            }

            public void setRefundOrderId(Object refundOrderId) {
                this.refundOrderId = refundOrderId;
            }

            public int getGoodsBrokerage() {
                return goodsBrokerage;
            }

            public void setGoodsBrokerage(int goodsBrokerage) {
                this.goodsBrokerage = goodsBrokerage;
            }

            public int getIsRefund() {
                return isRefund;
            }

            public void setIsRefund(int isRefund) {
                this.isRefund = isRefund;
            }

            public String getCreateUser() {
                return createUser;
            }

            public void setCreateUser(String createUser) {
                this.createUser = createUser;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateUser() {
                return updateUser;
            }

            public void setUpdateUser(String updateUser) {
                this.updateUser = updateUser;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public int getIsValid() {
                return isValid;
            }

            public void setIsValid(int isValid) {
                this.isValid = isValid;
            }

            public Object getResourceInfo() {
                return resourceInfo;
            }

            public void setResourceInfo(Object resourceInfo) {
                this.resourceInfo = resourceInfo;
            }
        }
    }
}
